<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    @yield('info')
    <link href="{{ asset('/homestyle/css/base.css') }}" rel="stylesheet">
    <link href="{{ asset('/homestyle/css/index.css') }}" rel="stylesheet">
    <link href="{{ asset('/homestyle/css/style.css') }}" rel="stylesheet">
    <link href="{{ asset('/homestyle/css/new.css') }}" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="{{ asset('/homestyle/js/modernizr.js') }}"></script>
    <![endif]-->
</head>
<body>
<header>
    <div id="logo"><a href="{{ url('/') }}"></a></div>
    <nav class="topnav" id="topnav">
        @foreach($navs as $n)<a href="{{ $n -> navs_url }}"><span>{{ $n -> navs_name }}</span><span class="en">{{ $n -> navs_title }}</span></a>@endforeach
    </nav>
</header>
@section('content')
    <h3>
        <p>最新<span>文章</span></p>
    </h3>
    <ul class="rank">
        @foreach($new as $n)
            <li><a href="{{ url('/art/').'/'.$n->art_id }}" title="{{ $n->art_title }}" target="_blank">{{ $n->art_title }}</a></li>
        @endforeach
    </ul>
    <h3 class="ph">
        <p>点击<span>排行</span></p>
    </h3>
    <ul class="paih">
        @foreach($hot as $h)
            <li><a href="{{ url('/art/').'/'.$h->art_id }}" title="{{ $h->art_title }}" target="_blank">{{ $h->art_title }}</a></li>
        @endforeach
    </ul>
@show
<footer>
    <p>{!! Config::get('web.copyright') !!} <a href="/">{!! Config::get('web.web_count') !!} </a></p>
</footer>
</body>
</html>
